Return

Edit Task: SetPossibility TimeslotDurationPreference

Description

The SetPossibility TimeslotDurationPreference attribute under EditTask defines whether the timeslot duration preference for the task should be shorter or longer timeslots. When this value is not set, possibilities default to the setting on the task.

Parameters

Parameter Description
PossibilityName A string of text with a comma delimited list of resources in the possibility. Order is not required and the resource names should not be in quotes.
TimeslotDurationPreference Options are either None, Short, or Long. Any other value will unset the preference for the timeslot.

Examples

For TaskA, set the timeslot duration preference to Long for the possibility containing ResA and ResB.

PATCH api/task/TaskA

Body:

{

"SetPossibility" : {

"PossibilityName" : "ResA, ResB",

"TimeslotDurationPreference" : "Long" }

}